package com.ch04;

import static java.util.Collections.binarySearch; // 2 overloaded methods
import static java.util.Arrays.binarySearch; // + 18 overloaded methods
import static com.ch04.subpackage.Auxiliary.binarySearch; // (1) Causes signature conflict.

public class MultipleStaticImport {
	public static void main(String[] args) {
		int index = com.ch04.subpackage.Auxiliary.binarySearch(new int[] {10, 50, 100}, 50); // (2) Not ok!
		System.out.println(index);
		}
		// public static int binarySearch(int[] a, int key) { // (3)
		// return -1;
		// }
}
